//
//  MZYshowCollectionViewCell.m
//  WristWatch
//
//  Created by dllo on 15/10/26.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MZYshowCollectionViewCell.h"

@implementation MZYshowCollectionViewCell

- (void)dealloc {
    [_showImageView release];
    [_showLabel release];
    [_showView release];
    
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.showImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height * 1.5)];
        [self.contentView addSubview:self.showImageView];
        [_showImageView release];
        
        self.showView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height * 1.5)];
        self.showView.backgroundColor = [UIColor blackColor];
        self.showView.alpha = 0.5;
        [self.showImageView addSubview:self.showView];
        [_showView release];
        
        self.showLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.contentView.frame.size.height / 3, self.contentView.frame.size.width, self.contentView.frame.size.height / 2)];
        self.showLabel.font = [UIFont boldSystemFontOfSize:18];
//        self.showLabel.backgroundColor = [UIColor yellowColor];
        self.showLabel.numberOfLines = 0;
        [self.contentView addSubview:self.showLabel];
        [_showLabel release];
    }
    return self;
}











@end
